//
//  ZZViewUtils.h
//  QQplayground
//
//  Created by zhangxy on 2018/5/24.
//  Copyright © 2018年 zhang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ZTextField.h"


@interface ZZViewUtils : NSObject

+(ZTextField *) createZTextField:(NSString *) placeholder;

+(ZTextField *)createZTextField:(NSString *)placeholder padding:(CGFloat) p;

//设置切哪个直角
//    UIRectCornerTopLeft     = 1 << 0,  左上角
//    UIRectCornerTopRight    = 1 << 1,  右上角
//    UIRectCornerBottomLeft  = 1 << 2,  左下角
//    UIRectCornerBottomRight = 1 << 3,  右下角
//    UIRectCornerAllCorners  = ~0UL     全部角
//得到view的遮罩路径
+(void)cutViewRound:(UIView *) view radius:(CGFloat ) radius byRoundingCorners:(UIRectCorner)corners;


+(void)setBtnLevelColor:(User *) user btn:(UIButton *) _btnLevel;


@end
